package com.lxd.milktea.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * http请求返回给前端的最外层的对象
 */
@Data
@ApiModel(value="ResultVO",description="通用返回结果")
public class ResultVO<T> {
    /** 信息码 **/
    @ApiModelProperty(value = "结果状态码",example = "1")
    private Integer code ;
    /** 信息 **/
    @ApiModelProperty(value = "结果消息",example = "请求成功")
    private String msg ;
    @ApiModelProperty(value = "结果数据")
    private T data ;
}
